﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CateItems.ascx.cs" Inherits="Acc_Web.controls.CateItems" %>
<asp:DataList ID="_itemList" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" Width="100%" BorderWidth="0" CellPadding="0" CellSpacing="0">
    <ItemTemplate>
        <img src="<%#Eval("ItemImg") %>" width="92" height="87" class="chanpin_img" />
        <div class="chanpin_info">
            <span class="font_green_title">
                <%#Eval("ItemName") %></span><br />
            现有库存：<%#Eval("Storage") %><br />
            所需点券：<span class="font_red"><%#Eval("Price") %>点</span>
            <br />
            <a href="buy.aspx?i=<%#Eval("ItemId") %>">
                <img src="images/banner3.gif" />
            </a>&nbsp; <a href="present.aspx?i=<%#Eval("ItemId") %>">
                <img src="images/banner4.gif" />
            </a>&nbsp; <a href="Info.aspx?i=<%#Eval("ItemId") %>">
                <img src="images/banner5.gif" /></a>
        </div>
    </ItemTemplate>
</asp:DataList>